home *** CD-ROM | disk | FTP | other *** search
- function §\x04\x05§()
- {
- set("\x03",1123 % 511 * true);
- §§push("\x03");
- if("\x01")
- {
- }
- return eval(§§pop());
- }
- var §\x01§ = -41 + "\x04\x05"();
- while(true)
- {
- if(eval("\x01") == 60)
- {
- set("\x01",eval("\x01") - 32);
- §§push(true);
- continue;
- }
- if(eval("\x01") == 77)
- {
- set("\x01",eval("\x01") + 749);
- §§push("\x0f");
- continue;
- }
- if(eval("\x01") == 25)
- {
- set("\x01",eval("\x01") + 592);
- if(!_global.classes)
- {
- _global.classes = new Object();
- }
- function §\x04\x05§()
- {
- set("\x03",1123 % 511 * true);
- §§push("\x03");
- if("\x01")
- {
- }
- return eval(§§pop());
- }
- if(!_global.classes.Fruit)
- {
- classes.Fruit extends MovieClip;
- var _loc2_ = classes.Fruit = function()
- {
- super();
- }.prototype;
- addr143:
- _loc2_.init = function(game_ref, isBomb, scoreMultiplier)
- {
- this.game_ref = game_ref;
- this.angle = 180 + Math.floor(Math.random() * (this.FRUIT_HIGH_ANGLE - this.FRUIT_LOW_ANGLE + 1)) + this.FRUIT_LOW_ANGLE;
- this.speed = Math.floor(Math.random() * (this.FRUIT_HIGH_SPEED - this.FRUIT_LOW_SPEED + 1)) + this.FRUIT_LOW_SPEED;
- this.xspeed = Math.cos(this.angle * 3.141592653589793 / 180) * this.speed;
- this.yspeed = Math.sin(this.angle * 3.141592653589793 / 180) * this.speed;
- this._x = this.START_X;
- this._y = this.START_Y;
- this.isBomb = isBomb;
- this.scoreMultiplier = scoreMultiplier;
- this.isGlowing = false;
- this.active = true;
- this._xscale = 40;
- this._yscale = 40;
- game_ref.__gameSounds.playSoundByName("foodThrow",1);
- };
- _loc2_.onEnterFrame = function()
- {
- if(this.active)
- {
- this.move();
- }
- };
- _loc2_.move = function()
- {
- this.yspeed += this.GRAVITY;
- this._y += this.yspeed;
- this._x += this.xspeed;
- if(this._x < this.LEFT_BORDER || this._x > this.RIGHT_BORDER)
- {
- this.remove();
- }
- if(this._y > this.game_ref.BOTTOM_BORDER)
- {
- this.splash();
- }
- };
- _loc2_.bounce = function(bounceFactor, xBounce)
- {
- this.yspeed *= bounceFactor * -1;
- this.xspeed = xBounce;
- this.game_ref.__gameSounds.playSoundByName("foodHitPad",1);
- };
- _loc2_.splash = function()
- {
- this.gotoAndPlay("splash");
- if(this.isBomb)
- {
- this.game_ref.__gameSounds.playSoundByName("bombExplode",1);
- }
- else
- {
- this.game_ref.__gameSounds.playSoundByName("foodHitGround",1);
- }
- this.remove_IV = setInterval(this,"remove",this.REMOVE_TIME * 1000);
- this.active = false;
- };
- _loc2_.setGlow = function()
- {
- this.game_ref.__gameSounds.playSoundByName("foodHitPowerup",1);
- this.gotoAndPlay("glow");
- this.isGlowing = true;
- };
- _loc2_.remove = function()
- {
- clearInterval(this.remove_IV);
- this.game_ref.removeFruit(this);
- };
- _loc2_.FRUIT_LOW_ANGLE = 30;
- _loc2_.FRUIT_HIGH_ANGLE = 70;
- _loc2_.FRUIT_LOW_SPEED = 3;
- _loc2_.FRUIT_HIGH_SPEED = 5;
- _loc2_.START_X = 590;
- _loc2_.START_Y = 80;
- _loc2_.REMOVE_TIME = 1;
- _loc2_.GRAVITY = 0.5;
- _loc2_.LEFT_BORDER = -50;
- _loc2_.RIGHT_BORDER = Stage.width + 50;
- §§push(ASSetPropFlags(classes.Fruit.prototype,null,1));
- }
- §§pop();
- break;
- }
- if(eval("\x01") == 741)
- {
- set("\x01",eval("\x01") - 664);
- var §§pop() = function §\x04\x05§()
- {
- set("\x03",1123 % 511 * true);
- §§push("\x03");
- if("\x01")
- {
- }
- return eval(§§pop());
- };
- continue;
- }
- if(eval("\x01") == 465)
- {
- set("\x01",eval("\x01") - 440);
- continue;
- }
- if(eval("\x01") == 136)
- {
- set("\x01",eval("\x01") + 842);
- §§push(true);
- continue;
- }
- if(eval("\x01") == 996)
- {
- set("\x01",eval("\x01") - 790);
- break;
- }
- if(eval("\x01") != 502)
- {
- if(eval("\x01") == 113)
- {
- set("\x01",eval("\x01") + 23);
- }
- else if(eval("\x01") == 978)
- {
- set("\x01",eval("\x01") - 476);
- if(function §\x04\x05§()
- {
- set("\x03",1123 % 511 * true);
- §§push("\x03");
- if("\x01")
- {
- }
- return eval(§§pop());
- })
- {
- set("\x01",eval("\x01") - 146);
- }
- }
- else if(eval("\x01") == 759)
- {
- set("\x01",eval("\x01") - 18);
- §§push("\x0f");
- §§push(1);
- }
- else if(eval("\x01") == 206)
- {
- set("\x01",eval("\x01") - 70);
- }
- else if(eval("\x01") == 826)
- {
- set("\x01",eval("\x01") + 74);
- §§push(eval(function §\x04\x05§()
- {
- set("\x03",1123 % 511 * true);
- §§push("\x03");
- if("\x01")
- {
- }
- return eval(§§pop());
- }));
- }
- else if(eval("\x01") == 900)
- {
- set("\x01",eval("\x01") - 729);
- §§push(!function §\x04\x05§()
- {
- set("\x03",1123 % 511 * true);
- §§push("\x03");
- if("\x01")
- {
- }
- return eval(§§pop());
- });
- }
- else if(eval("\x01") == 356)
- {
- set("\x01",eval("\x01") + 403);
- }
- else if(eval("\x01") == 333)
- {
- set("\x01",eval("\x01") + 426);
- }
- else if(eval("\x01") == 28)
- {
- set("\x01",eval("\x01") + 968);
- if(function §\x04\x05§()
- {
- set("\x03",1123 % 511 * true);
- §§push("\x03");
- if("\x01")
- {
- }
- return eval(§§pop());
- })
- {
- set("\x01",eval("\x01") - 790);
- }
- }
- else
- {
- if(eval("\x01") != 171)
- {
- if(eval("\x01") == 617)
- {
- set("\x01",eval("\x01") - 617);
- }
- break;
- }
- set("\x01",eval("\x01") + 294);
- if(function §\x04\x05§()
- {
- set("\x03",1123 % 511 * true);
- §§push("\x03");
- if("\x01")
- {
- }
- return eval(§§pop());
- })
- {
- set("\x01",eval("\x01") - 440);
- }
- }
- continue;
- }
- set("\x01",eval("\x01") - 146);
- toggleHighQuality();
- tellTarget(function §\x04\x05§()
- {
- set("\x03",1123 % 511 * true);
- §§push("\x03");
- if("\x01")
- {
- }
- return eval(§§pop());
- })
- {
- §§pop()[§§pop()].playSoundByName();
- §§goto(addr143);
- }
- }
-